package ynny;

public class Cyinder extends Cirle {
    private double length;

    public Cyinder(double length) {
        this.length =length;
    }

    public Cyinder(double raduis ,double pai ,double length) {

        this.length = length;
    }

    public double getLength() {
        return length;
    }

    public void setLength(double b) {
        this.length = length;
    }
    public void findVolume(double findArea) {

        double volume =findArea*length;
        System.out.println("圆柱面积："+volume);


    }
}
